package io.zhifei.modules.sys.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.zhifei.modules.sys.system.entity.ExaminationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @ClassNameExaminationDao
 * @Description
 * @Author
 * @Date2020/11/16 15:15
 * @Version V1.0
 **/
@Mapper
public interface ExaminationDao extends BaseMapper<ExaminationEntity> {
    /**
     * 获取列表
     * @param page
     * @param type
     * @return
     */
    Page<Map<String, Object>> getList(Page page, @Param("type") Integer type);
}
